﻿using System.Windows.Forms;

public partial class TabControl1 : TabControl
{
    public TabControl1()
    {
        InitializeComponent();

        init();
    }

    private void init()
    {
        this.Controls.Clear();
        this.Dock = DockStyle.Fill;
    }
}